

def assert_login(resp,status_code,status,description):

    assert status_code == resp.status_code
    assert status == resp.json().get("status")
    assert description in resp.json().get("description")